<% if @user_session.errors.any? %>
  <div id="errorExplanation">
  <h2><%= pluralize(@user_session.errors.count, "error") %> prohibited this user from loging:</h2>
    <ul>
      <% @user_session.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
    </ul>
  </div>
<% end %>

<div class="field">
  <p><label for="login">Usuario</label><br/>
  <%= text_field 'user_session', 'login' %></p>
</div>

<div class="field">
  <p><label for="password">Contraseña</label><br/>
  <%= password_field 'user_session', 'password' %></p>
</div>

<!-- <div class="check_box">
  <p><label for="remember_me">Remember me</label><br/>
  <%= check_box 'user_session', 'remember_me' %></p>
</div> -->
